package com.flash.DayProcessing.entity;

/**
 * 这是现金模块的实体类  提供get/set方法、构造方法、toString方法
 * @author Liy
 * @since 2022-9-4
 * @version 1.0
 */
public class AccountValue {
    //现金账户id
    private String cashId;
    //现金账户名称
    private String accountName;
    //银行id
    private String bankId;
    //现金库存金额
    private double money;
    //现金应收应付总金额
    private double totalMoney;

    public AccountValue(){}

    public AccountValue(String cashId, String accountName, String bankId, double money, double totalMoney) {
        this.cashId = cashId;
        this.accountName = accountName;
        this.bankId = bankId;
        this.money = money;
        this.totalMoney = totalMoney;
    }

    public String getCashId() {
        return cashId;
    }

    public void setCashId(String cashId) {
        this.cashId = cashId;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getBankId() {
        return bankId;
    }

    public void setBankId(String bankId) {
        this.bankId = bankId;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(double totalMoney) {
        this.totalMoney = totalMoney;
    }

    @Override
    public String toString() {
        return "AccountValue{" +
                "cashId='" + cashId + '\'' +
                ", accountName='" + accountName + '\'' +
                ", bankId='" + bankId + '\'' +
                ", money=" + money +
                ", totalMoney=" + totalMoney +
                '}';
    }
}
